package com.bootssm.controller;

import com.bootssm.dao.TeamBallMapper;
import com.bootssm.enity.TeamBall;
import com.bootssm.enity.TeamBallResultV0;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class TestController {

//    @Autowired
//    TeamBallMapper teamBallMapper;
//
//    @GetMapping("/test")
//   public List<TeamBallResultV0> findAll(){
//        List<TeamBall> teamBallList=teamBallMapper.findAll();
//        List<TeamBallResultV0> teamBallResultV0List=teamBallMapper.findResultAll();
//        return teamBallResultV0List;
//    }
}
